<%@ page language="java" contentType="text/html; charset=utf-8" %>
<jsp:useBean id="rs" class="weaver.conn.RecordSet" scope="page"/>
<%@ page import="com.alibaba.fastjson.JSONObject" %>
<%@ page import="weaver.general.Util" %>
<%
    JSONObject jsonData = new JSONObject();
    String nodeid = Util.null2String( request.getParameter( "nodeid" ) );
    rs.executeQuery( "select nodename from workflow_nodebase where id='" + nodeid + "'" );
    rs.next();
    String nodename = Util.null2String( rs.getString( "nodename" ) );
    jsonData.put( "nodename", nodename );
    out.print( jsonData.toJSONString() );
%>
